package com.ruoyi.web.controller.applet;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.HospitalSubscribeContent;
import com.ruoyi.system.domain.HospitalSubscribeHospitalInfo;
import com.ruoyi.system.service.IHospitalSubscribeHospitalInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 医院信息Controller
 * 
 * @author ruoyi
 * @date 2025-04-26
 */
@RestController
@RequestMapping("/applet/info")
public class HospitalSubscribeHospitalInfoAppletController extends BaseController
{
    @Autowired
    private IHospitalSubscribeHospitalInfoService hospitalSubscribeHospitalInfoService;

    /**
     * 查询医院信息列表
     * @response {@link HospitalSubscribeHospitalInfo}
     */
    @GetMapping("/list")
    public TableDataInfo list(HospitalSubscribeHospitalInfo hospitalSubscribeHospitalInfo)
    {
        startPage();
        List<HospitalSubscribeHospitalInfo> list = hospitalSubscribeHospitalInfoService.selectHospitalSubscribeHospitalInfoList(hospitalSubscribeHospitalInfo);
        return getDataTable(list);
    }

}
